/*
 * @Author: tcosfish
 * @Date: 2022-07-21 10:15:59
 * @LastEditors: tcosfish
 * @LastEditTime: 2022-07-21 11:54:24
 * @FilePath: \loadFile\src\routes\customer\customer.route.ts
 */

import Router from "koa-router"

const customer_routers = new Router()

customer_routers.prefix("/customer")

customer_routers.get("/", async (ctx) => {
  ctx.body = `<h1>This is customer/ response</h1>`
})

customer_routers.get("/foo", async (ctx) => {
  ctx.body = `<h1>This is customer/foo response</h1>`
})

export default customer_routers
